Adaptive Machine Learning Workload Optimization